/*
 * Created on 20/Dez/2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package libjdc.dc.util;

import libjdc.dc.client.User;
import java.util.Comparator;

/**
 * @author Daniel Botelho
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class NoIPDupesComparator implements Comparator<User> {

	/**
	 * 
	 */
	public NoIPDupesComparator() {
		super();
		// TODO Auto-generated constructor stub
	}

	/* (non-Javadoc)
	 * @see java.util.Comparator#compare(hubsniffer.User, hubsniffer.User)
	 */
	public int compare(User arg0, User arg1) {
		// TODO Auto-generated method stub
		return arg0.getHost().compareTo(arg1.getHost());
	}


}
